package com.lxj.cms.manage.action;

import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;
import org.apache.struts2.interceptor.validation.SkipValidation;

@SuppressWarnings("serial")
@Results( { @Result(name = "main", location = "/WEB-INF/admin/main/index.jsp"), @Result(name = "modifyOrCreate", location = "/WEB-INF/business/newsinfo/classTypeAdd.jsp") })
public class AdminLoginAction extends ManageBaseAction {
	private String username;
	private String password;

	@SkipValidation
	public String login() {
		return "login";
	}

	@SkipValidation
	public String validata() {

		return "main";
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
